* Appendix A: Coding scheme (text document)
xtset panel year, yearly

* Appendix B; Summary stats 
xtsum Change_in_regulatory_density proposals gridlock elec1 elec2 elec3 elec4 elec5 EU_membership policydocs


**********************************
***** Appendix C: Robustness tests for Table 1
**********************************

*** Robustness C.I: Include Maastricht as a control variable (for election cycle models)
* Replicates #4
xi: xtnbreg proposals l.gridlock l.salience maastricht i.election trend, fe irr 
outreg2 using robust_table1_I.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm _Ielection_2 - _Ielection_5

* Replicates #5
xi: xtnbreg proposals l.gridlock l.salience maastricht i.election l.EU_membership trend, fe irr 
outreg2 using robust_table1_I.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm _Ielection_2 - _Ielection_5


*** Robustness C.II: Include commission dummies as a controls (Barroso is reference) instead of election cycles
* Replicates #3
xtnbreg proposals l.gridlock l.salience  delors-prodi trend, fe irr 
outreg2 using robust_table1_II.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm delors-prodi

* Replciates #4
xi: xtnbreg proposals l.gridlock l.salience  delors-prodi trend, fe irr 
outreg2 using robust_table1_II.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm delors-prodi

* Replicates #5
xi: xtnbreg proposals l.gridlock l.salience  delors-prodi l.EU_membership trend, fe irr 
outreg2 using robust_table1_II.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm delors-prodi



**********************************
***** Apendix D: Robustness tests for Table 2
**********************************

*** Robustness D.I: Include Maastricht as a control variable (for election cycle models)
* Replicates #5
xi: xtnbreg Change_in_regulatory_density l2.proposals l.salience l.gridlock maastricht  i.election trend, fe irr 
outreg2 using robust_table2_I.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm _Ielection_2 - _Ielection_5

* Replicates #6
xi: xtnbreg Change_in_regulatory_density l2.proposals l.salience l.gridlock maastricht i.election l.EU_membership trend , fe irr 
outreg2 using robust_table2_I.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm _Ielection_2 - _Ielection_5

* Replicates #7 Interactions: Interaction of formal (proposals) and informal (policy docs) agenda-setting + control
xi: xtnbreg Change_in_regulatory_density l2.c.proposals##l2.c.policydocs l.salience l.gridlock maastricht  i.election l.EU_membership trend, fe irr 
outreg2 using robust_table2_I.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm _Ielection_2 - _Ielection_5


*** Robustness D.II: Include commission dummies as a controls (Barroso is reference) instead of election cycles
* Replicates #5
xi: xtnbreg Change_in_regulatory_density l2.proposals l.salience l.gridlock delors-prodi trend, fe irr 
outreg2 using robust_table2_II.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm delors-prodi

* Replicates #6
xi: xtnbreg Change_in_regulatory_density l2.proposals l.salience l.gridlock delors-prodi l.EU_membership trend , fe irr 
outreg2 using robust_table2_II.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm delors-prodi

* Replicates #7 Interactions: Interaction of formal (proposals) and informal (policy docs) agenda-setting + control
xi: xtnbreg Change_in_regulatory_density l2.c.proposals##l2.c.policydocs l.salience l.gridlock delors-prodi l.EU_membership trend, fe irr 
outreg2 using robust_table2_II.doc, stnum(replace coef=exp(coef), replace se=coef*se) cti(irr) stats(coef tstat) bdec(2) tdec(2) append
testparm delors-prodi


**********************************
**********************************
*** Not in Appendix, but mentioned in text
**********************************
**********************************


**********************************
* Multicollinearity tests
**********************************
collin l2proposals lsalience 
collin l2proposals lsalience lgridlock elec1 elec2 elec3 elec4 elec5 lEU_membership trend 
xi: reg Change_in_regulatory_density l2.proposals l.salience l.gridlock i.election l.EU_membership trend i.sector
estat vif


**********************************
* Using withdrawn/rejected proposals: Replication of Table 1
**********************************
 
